package com.xingda.packing.minitor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xingda.packing.common.dto.PageDto;
import com.xingda.packing.minitor.dto.PkWheelDto;
import com.xingda.packing.minitor.entity.PkWheel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author anxiaoning
 * @since 2021-07-03
 */
@Mapper
public interface PkWheelMapper extends BaseMapper<PkWheel> {

    List<Map<String, Object>> getPkWheelByValue(PageDto dto);

    List<Map<String, Object>> getPkWheelByTime(PageDto dto);

    List<PkWheelDto> getPkWheelByTaskId(@Param("taskId") Integer taskId);

    List<PkWheel> getPkWheelByPutTime(@Param("taskIds") List<Integer> taskIds);
}
